<template>
  <nav>
    <router-link style="color: white;text-decoration: none;" to="/"><el-button type="primary">首页</el-button></router-link>
    <router-link style="color: white;text-decoration: none;" to="/mySecond"><el-button type="primary">第二页</el-button></router-link>
    <router-link to="/myThree" ><el-button type="primary">第三页</el-button></router-link>
  </nav>
  <router-view/>

</template>

<script>
export default {
  name: 'App',
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  margin-top: 60px;
}
a{
  text-decoration: none;
  color:#ffffff;
}
 a:hover, a:visited, a:link, a:active {
    color:#ffffff;
}
.router-link-active{
  text-decoration: underline;
}
a:link {color: blue; text-decoration:none;} 
a:active{color: red; }
a:visited {color:purple;text-decoration:none;} 
a:hover {color: red; text-decoration:underline;} 
a{
  text-decoration: none;
}
</style>
